<%@ page import="java.io.BufferedReader" %>
<%@ page import="java.util.List" %>
<%--
  Created by IntelliJ IDEA.
  User: 路若潼
  Date: 2022/3/14
  Time: 17:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>Title</title>
    <style>
        th,td{
            text-align: center;
            
        }
        table{
            text-align: center;
            margin-left: 650px;
        }
        
    </style>
</head>
<body>
<h1 style="text-align: center">内容是</h1>
<table border="1" >

    <%
        List<String> obj = (List<String>) request.getAttribute("obj_data");
        for (int i = 0; i < obj.size(); i++) {
            out.print("<th>" + obj.get(i) + "</th><tr>");
        }
    %>
</table>

</body>
</html>

